/* CommentSection.css */

/* 评论区域的整体样式 */
.comment-section {
    max-width: 1400px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 表单样式 */
.comment-section form {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.comment-section input,
.comment-section textarea {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.comment-section textarea {
    height: 100px;
    resize: vertical;
}

.comment-section button {
    margin: 20px;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    background-color: #007bff;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.comment-section button:hover {
    background-color: #0056b3;
}

/* 评论列表样式 */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    padding: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.comment strong {
    font-size: 16px;
    color: #333;
}

.comment p {
    margin: 5px 0;
    color: #555;
}

.comment small {
    font-size: 12px;
    color: #888;
}
